import ajax from '@/utils/request'
export const sendKeyword = (val) => {
  return ajax({
    method: 'GET',
    url: 'app/v1_0/suggestion',
    params: {
      q: val
    }
  })
}
export const getSearch = (val, page) => {
  return ajax({
    method: 'GET',
    url: '/app/v1_0/search',
    params: {
      q: val,
      page
    }
  })
}
